package com.yuxl.ai.spg.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

import java.time.LocalDateTime;

/**
 * @Author : yuxl
 * @create 2025/7/10 下午6:07
 */
@Schema(description = "知识图谱:描述")
@Table("ai_spg_schema")
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class AiSpgSchema {
    @Id
    private Long id;

    @Schema(description = "名称")
    private String name;

    @Schema(description =  "结构")
    private String structure;

    @Schema(description =  "描述")
    private String description;

    @Schema(description =  "创建人")
    private Long createBy;

    @Schema(description =  "修改人")
    private Long updateBy;

    @Schema(description =  "创建时间")
    private LocalDateTime createTime;

    @Schema(description =  "修改时间")
    private LocalDateTime updateTime;
}
